/*
 * Copyright 2018 the original author or authors.
 * 
 * you can use the file or import project.but Do not take legal responsibility.
 * Only for learning communication.
 *
 * Java compiled version 1.8 or higher
 * 
 * 
 * 
 * 
 */
 
package org.demo.util.bean;

/**
 * 描述
 * @author jx-air
 * @date 2018年2月1日 下午3:24:14
 * @version 1.0
 */
public class HttpResultBean {
	private boolean status=false;//请求是否成功。系统级别。例如网络异常，返回状态非200为false。默认false
	private String response;//返回内容
	
	public boolean isStatus() {
		return status;
	}
	public void fail() {
		this.status = false;
	}
	public void succ() {
		this.status = true;
	}
	
	public String getResponse() {
		return response;
	}
	public void setResponse(String response) {
		this.response = response;
	}
	
}
